ArcPad Graphic Layer File Schema
IMAGEBOX Element
See Also  Send comments on this topic.
ArcPad Graphic Layer File Schema > PAGE Element : IMAGEBOX Element

Glossary Item Box

Description

Used to define an ImageBox control in a form.

Diagram

IMAGEBOX Element

Overview

IMAGEBOX
Used to define an ImageBox control in a form.
height required Restriction of xs:int
width required Restriction of xs:int
x required xs:int
The x coordinate of the upper left corner of the image box.
y required xs:int
The y coordinate of the upper left corner of the image box
border optional Restriction of xs:string
clickaction optional Restriction of xs:string
defaultvalue optional xs:string
field optional xs:string
group optional Restriction of xs:string
name optional xs:string
onchange optional xs:string
Specify the script to run when this event occurs.
onclick optional xs:string
Specify the script to run when this event occurs.
readonly optional Restriction of xs:string
required optional Restriction of xs:string
tabstop optional Restriction of xs:string

Attributes

NameTypeUseDefaultFixedDescription
heightRestriction of xs:intrequired   
widthRestriction of xs:intrequired   
xxs:intrequired  The x coordinate of the upper left corner of the image box.
yxs:intrequired  The y coordinate of the upper left corner of the image box
borderRestriction of xs:stringoptionalfalse  
clickactionRestriction of xs:stringoptional   
defaultvaluexs:stringoptional   
fieldxs:stringoptional   
groupRestriction of xs:stringoptionalfalse  
namexs:stringoptional   
onchangexs:stringoptional  Specify the script to run when this event occurs.
onclickxs:stringoptional  Specify the script to run when this event occurs.
readonlyRestriction of xs:stringoptionalfalse  
requiredRestriction of xs:stringoptionalfalse  
tabstopRestriction of xs:stringoptionaltrue  

Examples

ArcPad layer file (*.apl) with an edit form.

Restrictions

The following attributes can only be used in edit and identify forms. They cannot be used in general forms:; field; required

Source

<xs:element name="IMAGEBOX" maxOccurs="1" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:annotation>
    <xs:documentation>Used to define an ImageBox control in a form.</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:attribute use="required" ref="height">
      <xs:annotation>
        <xs:documentation>The height of the image box.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute use="required" ref="width">
      <xs:annotation>
        <xs:documentation>The width of the image box.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute use="required" name="x" type="xs:int">
      <xs:annotation>
        <xs:documentation>The x coordinate of the upper left corner of the image box.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute use="required" name="y" type="xs:int">
      <xs:annotation>
        <xs:documentation>The y coordinate of the upper left corner of the image box</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute ref="border">
      <xs:annotation>
        <xs:documentation>Specifies whether the image box has a border.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute ref="clickaction" />
    <xs:attribute ref="defaultvalue">
      <xs:annotation>
        <xs:documentation>A simple expression that specifies the default value of the image box.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute ref="field">
      <xs:annotation>
        <xs:documentation>The field of the shapefile's DBF table that is linked to the image box.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute ref="group">
      <xs:annotation>
        <xs:documentation>Specifies whether the image box starts a new group of controls.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute ref="name">
      <xs:annotation>
        <xs:documentation>Name of the ImageBox control. Used to reference the control in scripts.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute ref="onchange">
      <xs:annotation>
        <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute ref="onclick">
      <xs:annotation>
        <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute ref="readonly">
      <xs:annotation>
        <xs:documentation>Specifies whether the image box's value can be modified by the user.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute ref="required">
      <xs:annotation>
        <xs:documentation>Specifies if the user must select an image in the image box.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute ref="tabstop">
      <xs:annotation>
        <xs:documentation>Specifies whether the TAB key can be used to move the focus to the image box.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
</xs:element>

See Also

© 2012 All Rights Reserved.